import request from "../utils/request";


export const loginApi = (body)=>{
    return request('/login',{
        method:'post',
        body
    })
}

export const profileApi = (body)=>{
    return request('/user/profile',{
        method:'put',
        body
    })
}

export const mrbirdApi = ()=>{
    return request('/user/mrbird',{
        method:'get'
    })
}

export const avatarApi = (body)=>{
    return request('/user/avatar',{
        method:'put',
        body
    })
}